From: Florian Müllner Date: Mon, 20 Mar 2023 00:55:59 +0000 (+0100) Subject: ci: Add --help option to meson-install script X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~371^2^2~11 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d97c667937a76de843fe8637915acf91b8b55799;p=gnome-shell.git ci: Add --help option to meson-install script It's not really necessary in an internal script, but it's easy enough and doesn't hurt *shrug* Part-of: --- diff --git a/.gitlab-ci/install-meson-project.sh b/.gitlab-ci/install-meson-project.sh index c49d50c7f..e87407fe2 100755 --- a/.gitlab-ci/install-meson-project.sh +++ b/.gitlab-ci/install-meson-project.sh @@ -11,12 +11,15 @@ usage() { Options: -Dkey=val Option to pass on to meson + -h, --help Display this help + EOF } TEMP=$(getopt \ --name=$(basename $0) \ - --options=D \ + --options='D:h' \ + --longoptions='help' \ -- "$@") eval set -- "$TEMP" @@ -31,6 +34,11 @@ while true; do shift 2 ;; + -h|--help) + usage + exit 0 + ;; + --) shift break